package com.example.droolstest.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 规则版本
 */
@Data
@TableName(value = "rule_version")
public class RuleVersion {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "business_rule_temp_id")
    private Integer businessRuleTempId;

    @TableField(value = "info")
    private String info;

    @TableField(value = "version")
    private Integer version;


    public static final String COL_ID = "id";
    public static final String COL_BUSINESS_RULE_TEMP_ID = "business_rule_temp_id";
    public static final String COL_INFO = "info";
    public static final String COL_VERSION = "version";

}
